<?php
//// User Information based upon the login status
if (isset($_SESSION['SESS_USER_TYPE'])) {

    echo '<h3>LOGGED IN: ';
    echo $_SESSION['SESS_MEMBER_ID'];
    echo '</h3>',
    '<ul>';
    echo '<li><a href="AdminIndex.php" title="Admin Home">Admin Home</a></li>',
    '<li><a href="ControlLogOut.php" title="Logout">Logout</a></li>';

    echo '</ul>';

    if (isUserType_Treasurer($_SESSION['SESS_USER_TYPE'])) {

        //// Treasurer Logged in
        echo '<h3>Treasurer</h3>',
        '<ul>';

        echo '<li><a href="AdminPay.php" title="Process Payment">Enter Membership Payment</a></li>',
        '<li><a href="AdminRepPay.php" title="Report Payment">Membership Payment Report</a></li>',
        '<li><a href="AdminResetPay.php" title="Reset Payment">Annual Membership Reset</a></li>';

        echo '</ul>';
    }
    if (isUserType_Events($_SESSION['SESS_USER_TYPE'])) {

        //// Event Mng Logged in
        echo '<h3>Events</h3>',
        '<ul>';

        echo '<li><a href="AdminEventCreate.php" title="Event Create">Create Event</a></li>',
        '<li><a href="AdminEventEdit.php" title="Event Edit">Edit Event</a></li>',
        '<li><a href="AdminSelectNxtEvent" title="Select Upcoming Event">Set Upcoming Event</a></li>';
        '<li><a href="AdminSubmitInvitation" title="Submit Event Invitation">Submit Event Invitation</a></li>';
        '<li><a href="AdminSubmitReminder" title="Submit Event Reminder">Submit Event Reminder</a></li>';

        echo '</ul>';
    }
    if (isUserType_Members($_SESSION['SESS_USER_TYPE'])) {

        //// Member Mng Logged in
        echo '<h3>Membership</h3>',
        '<ul>';

        echo '<li><a href="AdminMemberCreate.php" title="Member Create">Create Member</a></li>',
        '<li><a href="AdminMemberEdit.php" title="Member Edit">Edit Member</a></li>',
        '<li><a href="AdminGetEMails" title="Get Members Email">Email Members List</a></li>';

        echo '</ul>';
    }
    if (isUserType_Super($_SESSION['SESS_USER_TYPE'])) {

        //// Super Logged in
        echo '<h3>System Mng</h3>',
        '<ul>';

        echo '<li><a href="AdminSystemMng.php" title="System Management">System Admin</a></li>';

        echo '</ul>';
    }
}
?>